<%@page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="html" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html>
<html>
<html:header title="日常收支">
    <link rel="stylesheet" href="${baseUrl}css/public.css" media="all">

    <style>
        body{
            overflow:scroll;
            overflow-y:hidden;
        }

        .layui-tab-content {
            padding: 10px 0;
        }
    </style>
    <script>

        jQuery(function () {
            var h = $(window).height()-100;
            $("iframe").css("height",h+"px");
        });


        layui.use(['form', 'layedit', 'laydate','element'], function(){
            var form = layui.form
                ,layer = layui.layer
                ,layedit = layui.layedit
                ,laydate = layui.laydate
                ,element = layui.element;
        });

        function openTableForSubIframe(title, url) {
            openTab(title,url);
        }
    </script>
</html:header>
<body style="height: 100%;" scrolling="no">
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-tab layui-tab-brief" style="height: 100%">
            <ul class="layui-tab-title">
                <li class="layui-this">日常收入</li>
                <li lay-id="logo">日常支出</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe id="budgetIn" src="${baseUrl}budget/budgetIn.action" frameborder="0" width="100%">
                    </iframe>
                </div>

                <div class="layui-tab-item">
                    <iframe id="budgetOut" src="${baseUrl}budget/budgetOut.action" frameborder="0" width="100%">
                    </iframe>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>